<!--  -->
<template>
  <div class="headers">
    <h3>基本信息</h3>
    <div class="froms">
      <el-form
        :label-position="labelPosition"
        label-width="80px"
        :model="formLabelAlign"
        :inline="true"
        class="ifrs"
      >
        <el-form-item label="单位名称">
          <el-input class="danname" placeholder="请输入内容"></el-input>
        </el-form-item>
        <el-form-item label="规划面积">
          <el-input class="huoname" placeholder="请输入内容"></el-input>
        </el-form-item>
        <el-form-item label="建成面积">
          <el-input class="huoname" placeholder="请输入内容"></el-input>
        </el-form-item>
        <el-form-item label="单位类型">
          <el-select v-model="formLabelAlign.type" placeholder="活动区域" class="huoname">
            <el-option label="区域一" value="shanghai"></el-option>
            <el-option label="区域二" value="beijing"></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="级别">
          <el-select placeholder="活动区域" class="huoname" v-model="formLabelAlign.type">
            <el-option label="区域一" value="shanghai"></el-option>
            <el-option label="区域二" value="beijing"></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="单位地址">
          <el-select v-model="formLabelAlign.type" placeholder="活动区域" class="huoname">
            <el-option label="区域一" value="shanghai"></el-option>
            <el-option label="区域二" value="beijing"></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="园区范围线" placeholder="上传园区范围线">
          <el-input class="huoname" placeholder="请输入内容"></el-input>
        </el-form-item>
        <h3>多媒体资料</h3>
        <div class="txts">
          <em>头部图片管理</em>
          <i class="el-icon-warning-outline"></i>
          通过拖拽调整图片顺序。
        </div>
        <el-upload
          class="upload-demo pages"
          drag
          action="https://jsonplaceholder.typicode.com/posts/"
          multiple
        >
          <i class="el-icon-upload"></i>
          <div class="el-upload__text">点击上传</div>
        </el-upload>
        <el-form-item label="VR链接">
          <el-input class="huoname" placeholder="VR地址"></el-input>
        </el-form-item>
        <h3>视频管理</h3>
        <el-upload
          class="upload-demo pages"
          drag
          action="https://jsonplaceholder.typicode.com/posts/"
          multiple
        >
          <i class="el-icon-upload"></i>
          <div class="el-upload__text">点击上传</div>
        </el-upload>
        <el-form-item class="fters">
          <el-button type="primary" @click="submitForm('ruleForm')">预览</el-button>
          <el-button @click="resetForm('ruleForm')">保存</el-button>
        </el-form-item>
      </el-form>
    </div>
  </div>
</template>

<script>
export default {
  components: {},
  data() {
    return {
      labelPosition: 'top',
      formLabelAlign: {
        name: '',
        region: '',
        type: '',
      },
    }
  },
  created() {},
  methods: {
    onSubmit() {
      console.log('submit!')
    },
  },
  beforeDestroy() {},
}
</script>

<style lang='scss' >
.headers {
  width: 100%;
  height: 872px;

  h3 {
    font-family: PingFangSC, PingFangSC-Semibold;
    font-weight: 600;
    text-align: left;
    color: #171725;
    line-height: 22px;
    letter-spacing: 0.11px;
    font-size: 16px;
    margin: 25px 0 0px 0;
  }
  .froms {
    .ifrs {
      width: 100%;
      .danname {
        width: 767px;
        height: 36px;
      }
      .huoname {
        width: 320px;
        height: 20px;
      }
      .el-form-item {
        margin: 10px 127px 0 0;
        .el-form-item__label {
          font-size: 14px;
          font-family: PingFangSC, PingFangSC-Regular;
          font-weight: 400;
          text-align: left;
          color: #444450;
          line-height: 22px;
        }
      }
      .pages {
        width: 80px;
        height: 80px;
        .el-upload-dragger {
          width: 80px;
          height: 80px;
          .el-icon-upload {
            font-size: 67px;
            color: #c0c4cc;
            margin: 0;
            line-height: 50px;
          }
        }
      }
      .fters {
        width: 100%;
        height: 80px;
        margin: 26px 0 0 0;
        background: #fff;
        text-align: center;

        .el-form-item__content {
          line-height: 80px;
        }
      }
      .txts {
        font-size: 14px;
        font-family: PingFangSC, PingFangSC-Regular;
        font-weight: 400;
        text-align: left;
        color: #888888;
        line-height: 20px;
        letter-spacing: 0.1px;
        em {
          font-size: 14px;
          font-family: PingFangSC, PingFangSC-Regular;
          font-weight: 400;
          text-align: left;
          color: #444450;
          line-height: 22px;
        }
       
      }
    }
  }
}
</style>
